﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CC1 RID: 3265
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class OpenRogueChestCsReq : IMessage<OpenRogueChestCsReq>, IMessage, IEquatable<OpenRogueChestCsReq>, IDeepCloneable<OpenRogueChestCsReq>, IBufferMessage
	{
		// Token: 0x17002910 RID: 10512
		// (get) Token: 0x060091CE RID: 37326 RVA: 0x00183090 File Offset: 0x00181290
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<OpenRogueChestCsReq> Parser
		{
			get
			{
				return OpenRogueChestCsReq._parser;
			}
		}

		// Token: 0x17002911 RID: 10513
		// (get) Token: 0x060091CF RID: 37327 RVA: 0x00183097 File Offset: 0x00181297
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return OpenRogueChestCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002912 RID: 10514
		// (get) Token: 0x060091D0 RID: 37328 RVA: 0x001830A9 File Offset: 0x001812A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return OpenRogueChestCsReq.Descriptor;
			}
		}

		// Token: 0x060091D1 RID: 37329 RVA: 0x001830B0 File Offset: 0x001812B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OpenRogueChestCsReq()
		{
		}

		// Token: 0x060091D2 RID: 37330 RVA: 0x001830B8 File Offset: 0x001812B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OpenRogueChestCsReq(OpenRogueChestCsReq other) : this()
		{
			this.monsterId_ = other.monsterId_;
			this.hBLIKPICEKE_ = other.hBLIKPICEKE_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060091D3 RID: 37331 RVA: 0x001830E9 File Offset: 0x001812E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OpenRogueChestCsReq Clone()
		{
			return new OpenRogueChestCsReq(this);
		}

		// Token: 0x17002913 RID: 10515
		// (get) Token: 0x060091D4 RID: 37332 RVA: 0x001830F1 File Offset: 0x001812F1
		// (set) Token: 0x060091D5 RID: 37333 RVA: 0x001830F9 File Offset: 0x001812F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MonsterId
		{
			get
			{
				return this.monsterId_;
			}
			set
			{
				this.monsterId_ = value;
			}
		}

		// Token: 0x17002914 RID: 10516
		// (get) Token: 0x060091D6 RID: 37334 RVA: 0x00183102 File Offset: 0x00181302
		// (set) Token: 0x060091D7 RID: 37335 RVA: 0x0018310A File Offset: 0x0018130A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HBLIKPICEKE
		{
			get
			{
				return this.hBLIKPICEKE_;
			}
			set
			{
				this.hBLIKPICEKE_ = value;
			}
		}

		// Token: 0x060091D8 RID: 37336 RVA: 0x00183113 File Offset: 0x00181313
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as OpenRogueChestCsReq);
		}

		// Token: 0x060091D9 RID: 37337 RVA: 0x00183121 File Offset: 0x00181321
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(OpenRogueChestCsReq other)
		{
			return other != null && (other == this || (this.MonsterId == other.MonsterId && this.HBLIKPICEKE == other.HBLIKPICEKE && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060091DA RID: 37338 RVA: 0x00183160 File Offset: 0x00181360
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MonsterId != 0U)
			{
				num ^= this.MonsterId.GetHashCode();
			}
			if (this.HBLIKPICEKE)
			{
				num ^= this.HBLIKPICEKE.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060091DB RID: 37339 RVA: 0x001831B8 File Offset: 0x001813B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060091DC RID: 37340 RVA: 0x001831C0 File Offset: 0x001813C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060091DD RID: 37341 RVA: 0x001831CC File Offset: 0x001813CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MonsterId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.MonsterId);
			}
			if (this.HBLIKPICEKE)
			{
				output.WriteRawTag(112);
				output.WriteBool(this.HBLIKPICEKE);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060091DE RID: 37342 RVA: 0x00183228 File Offset: 0x00181428
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MonsterId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MonsterId);
			}
			if (this.HBLIKPICEKE)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060091DF RID: 37343 RVA: 0x00183274 File Offset: 0x00181474
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(OpenRogueChestCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MonsterId != 0U)
			{
				this.MonsterId = other.MonsterId;
			}
			if (other.HBLIKPICEKE)
			{
				this.HBLIKPICEKE = other.HBLIKPICEKE;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060091E0 RID: 37344 RVA: 0x001832C4 File Offset: 0x001814C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060091E1 RID: 37345 RVA: 0x001832D0 File Offset: 0x001814D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.HBLIKPICEKE = input.ReadBool();
					}
				}
				else
				{
					this.MonsterId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003795 RID: 14229
		private static readonly MessageParser<OpenRogueChestCsReq> _parser = new MessageParser<OpenRogueChestCsReq>(() => new OpenRogueChestCsReq());

		// Token: 0x04003796 RID: 14230
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003797 RID: 14231
		public const int MonsterIdFieldNumber = 4;

		// Token: 0x04003798 RID: 14232
		private uint monsterId_;

		// Token: 0x04003799 RID: 14233
		public const int HBLIKPICEKEFieldNumber = 14;

		// Token: 0x0400379A RID: 14234
		private bool hBLIKPICEKE_;
	}
}
